package com.flying.acls.domain.permission;

import com.flying.acls.model.Constant;
import com.flying.acls.model.PermsExpr;
import com.flying.acls.model.PermsType;

public class PermsExprFactory {
    public static PermsExpr get(PermsType type, int mask) {
        return new PermsExpr(Constant.DEFAULT_OWNER, type, mask);
    }

    public static PermsExpr get(String owner, PermsType type, int mask) {
        return new PermsExpr(owner, type, mask);
    }
}
